button{
    label {
        text_size{
            x: 0.05
            y: 0.05
        }
        text: "EndgameMenu.buttons.play_again"
        align: 0x24
    }
}

button{
    label {
        text_size{
            x: 0.05
            y: 0.05
        }
        text: "EndgameMenu.buttons.exit_to_main"
        align: 0x24
    }
}

text_field{
    label {
        text_size{
            x: 0.045
            y: 0.045
        }
        align: 0x04
    }
}

control_reference {
    type: BUTTON
    id: 0    
}

control_reference {
    type: BUTTON
    id: 1
}

control_reference {
    type: TEXT_FIELD
    id: 0
}

name2controlref {
    name: 'endgame.play_again'
    ref_id: 0
}

name2controlref {
    name: 'endgame.exit_to_main'
    ref_id: 1
}

name2controlref {
    name: 'endgame.text'
    ref_id: 2
}
